Skip to main content

Base32

Must be included via require.


base32.encode

Returns an encoded base32 string.

Parameters

  1. data — A string of data to encode.
  2. pad — Whether or not to apply padding. Defaults to true.

base32.decode

Returns a decoded base32 string.

Parameters

  1. data — A string of base32 data to decode.